Component({
    properties: {
        list: {
            type: Array,
            value: function() {
                return [];
            }
        },
        itemOption: {
            type: Object,
            value: {
                article_name: "article_name",
                creater_name: "creater_name",
                base_name: "base_name",
                created_at: "created_at"
            }
        },
        plu: {
            type: String,
            value: null
        }
    },
    data: {},
    methods: {
        linkto: function(e) {
            var t = e.currentTarget.dataset.item;
            this.triggerEvent("click", t);
        },
        toBaseMenu: function(e) {
            var t = e.currentTarget.dataset.item.knowledge_base_id;
            t && this.data.plu && wx.navigateTo({
                url: "/packageI/knowledge/knowledgeList/knowledgeList?bid=".concat(t, "&plu=").concat(this.data.plu)
            });
        }
    }
});